﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Police.Configuration
{
    /// <summary>
    /// Identify single developer configuration.
    /// </summary>
    [Serializable]
    public class Developer
    {
        /// <summary>
        /// Gets or sets developer's username (called Author in SVN).
        /// </summary>
        [XmlAttribute]
        public String Username { get; set; }

        /// <summary>
        /// Gets or sets path where projects are stored. Generally workspace should be a public folder in 
        /// internal network that is visible to all users. 
        /// </summary>
        [XmlAttribute]
        public String Workspace { get; set; }

        /// <summary>
        /// Gets or sets developer's email (sometime used to sent notice about commit).
        /// </summary>
        [XmlAttribute]
        public String Email { get; set; }
    }
}
